.class public Lcom/instagram/android/x/v;
.super Ljava/lang/Object;
.source "FragmentNavigatorUtil.java"


# direct methods
.method public static a(Landroid/support/v4/app/r;Lcom/instagram/android/model/k;ZZ)Lcom/instagram/e/b/a/a;
    .locals 4
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 60
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 62
    const-string v1, "CommentThreadFragment.MEDIA_ID"

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 63
    const-string v1, "CommentThreadFragment.SHOW_KEYBOARD"

    invoke-virtual {v0, v1, p2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 64
    const-string v1, "CommentThreadFragment.IS_STARRED"

    invoke-virtual {v0, v1, p3}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 65
    const-string v1, "CommentThreadFragment.IS_SELF_MEDIA"

    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v2

    invoke-virtual {v2}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v2

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->b()Lcom/instagram/android/model/b/e;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/instagram/android/model/b/e;->equals(Ljava/lang/Object;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    .line 68
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-direct {v1, p0}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/feed/comments/a/a;

    invoke-direct {v2}, Lcom/instagram/android/feed/comments/a/a;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    return-object v0
.end method

.method public static a(Landroid/support/v4/app/r;Ljava/lang/String;)Lcom/instagram/e/b/a/a;
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 23
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 25
    const-string v1, "UserDetailFragment.EXTRA_USER_ID"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 27
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-direct {v1, p0}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/fragment/gw;

    invoke-direct {v2}, Lcom/instagram/android/fragment/gw;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    return-object v0
.end method

.method public static a(Landroid/support/v4/app/r;Ljava/lang/String;Z)Lcom/instagram/e/b/a/a;
    .locals 3
    .parameter
    .parameter
    .parameter

    .prologue
    .line 44
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    .line 46
    const-string v0, "com.instagram.android.fragment.ARGUMENTS_KEY_EXTRA_MEDIA_ID"

    invoke-virtual {v1, v0, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 47
    const-string v0, "com.instagram.android.fragment.ARGUMENTS_KEY_LOAD_FROM_NETWORK"

    invoke-virtual {v1, v0, p2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 49
    sget v0, Lcom/facebook/aw;->layout_container_main:I

    invoke-virtual {p0, v0}, Landroid/support/v4/app/r;->a(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    .line 50
    if-eqz v0, :cond_0

    instance-of v2, v0, Lcom/instagram/b/d;

    if-eqz v2, :cond_0

    .line 51
    check-cast v0, Lcom/instagram/b/d;

    invoke-interface {v0}, Lcom/instagram/b/d;->d_()Ljava/lang/String;

    move-result-object v0

    .line 52
    const-string v2, "com.instagram.android.fragment.KEY_REFERRER"

    invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 55
    :cond_0
    new-instance v0, Lcom/instagram/e/b/a/a;

    invoke-direct {v0, p0}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/fragment/gm;

    invoke-direct {v2}, Lcom/instagram/android/fragment/gm;-><init>()V

    invoke-virtual {v0, v2, v1}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    return-object v0
.end method

.method public static a(Landroid/support/v4/app/r;Ljava/lang/String;ZZ)Lcom/instagram/e/b/a/a;
    .locals 3
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 81
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 83
    const-string v1, "mediaId"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 84
    const-string v1, "scroll"

    invoke-virtual {v0, v1, p2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 86
    const-string v1, "opened_via_push"

    invoke-virtual {v0, v1, p3}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 89
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-direct {v1, p0}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/directshare/g/c;

    invoke-direct {v2}, Lcom/instagram/android/directshare/g/c;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    return-object v0
.end method

.method public static b(Landroid/support/v4/app/r;Ljava/lang/String;)Lcom/instagram/e/b/a/a;
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 31
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 33
    const-string v1, "UserDetailFragment.EXTRA_USER_NAME"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 35
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-direct {v1, p0}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/fragment/gw;

    invoke-direct {v2}, Lcom/instagram/android/fragment/gw;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    return-object v0
.end method

.method public static c(Landroid/support/v4/app/r;Ljava/lang/String;)Lcom/instagram/e/b/a/a;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 39
    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Lcom/instagram/android/x/v;->a(Landroid/support/v4/app/r;Ljava/lang/String;Z)Lcom/instagram/e/b/a/a;

    move-result-object v0

    return-object v0
.end method

.method public static d(Landroid/support/v4/app/r;Ljava/lang/String;)Lcom/instagram/e/b/a/a;
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 72
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 74
    const-string v1, "HashtagFeedFragment.ARGUMENT_TAG_NAME"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 76
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-direct {v1, p0}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/fragment/dk;

    invoke-direct {v2}, Lcom/instagram/android/fragment/dk;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    return-object v0
.end method
